import configparser
config = configparser.ConfigParser()
config.read("config.ini")
def sync_config():
    with open("config.ini", "w") as configfile:
        config.write(configfile)
def set_config(section, key, value):
    config.set(section, key, value)
    sync_config()
def del_config(section, key):
    config.remove_option(section, key)
    sync_config()
def get_config(section, key):
    return config.get(section, key)
    
